github.com/gotd/td/internal/mtproto/salts.Salts.salts (field)
18 uses
github.com/gotd/td/internal/mtproto/salts (current package)
salts.go#L15: salts []mt.FutureSalt
salts.go#L25: if len(s.salts) < 1 {
salts.go#L30: if salt := s.salts[len(s.salts)-1]; salt.ValidUntil > date {
salts.go#L37: for _, salt := range s.salts {
salts.go#L41: s.salts[n] = salt
salts.go#L45: s.salts = s.salts[:n]
salts.go#L68: s.salts = append(s.salts, salts...)
salts.go#L71: dedup := make(map[int64]struct{}, len(s.salts)+1)
salts.go#L72: for _, salt := range s.salts {
salts.go#L75: s.salts[n] = salt
salts.go#L79: s.salts = s.salts[:n]
salts.go#L82: sort.Sort(saltSlice(s.salts))
salts.go#L88: s.salts = s.salts[:0]
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |